package com.bgybmi.interceptor;

import com.jfinal.aop.Before;
import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;
import com.jfinal.ext.interceptor.NotAction;
import com.jfinal.kit.HttpKit;
import com.jfinal.kit.StrKit;
import com.jfinal.qyweixin.sdk.api.ApiConfigKit;
import com.jfinal.qyweixin.sdk.kit.MsgEncryptKit;
import com.jfinal.qyweixin.sdk.kit.SignatureCheckKit;
import com.jfinal.qyweixin.sdk.msg.in.InMsg;


public class UserMsgInterceptor implements Interceptor{
	private String inMsgXml = null;		// 本次请求 xml数据
	private InMsg inMsg = null;			// 本次请求 xml 解析后的 InMsg 对象
	@Override
	public void intercept(Invocation inv) {
		// TODO Auto-generated method stub
		if (ApiConfigKit.isDevMode()) {
			System.out.println("接收消息:");
			//System.out.println(getInMsgXml());
		}
	}
}
